#define  _CRT_SECURE_NO_WARNINGS
#include "game.h"

int main()
{
	srand((unsigned int)time(NULL));
	int input = 0;
	while (1)
	{
		menu();
		scanf("%d", &input);
		switch (input)
		{
		case 1:
			game();
			break;
		case 0:
			printf("exit\n");
			return 0;
		default:
			printf("error\n");
		}
	}
}